package com.anbang.website.service;

import java.util.Map;

import com.google.common.collect.Maps;

import net.sf.json.JSONObject;

/**
 * @author fediy
 *
 * 商品类别处理助手helper
 */
public class OrderDictHelper {

	public static JSONObject takeMethodList(){
		Map<String, Object> map = Maps.newHashMap();
		return ServiceHelper.post("/orderdict/takeMethod", map);
	}
	
	public static JSONObject paymethodList(){
		Map<String, Object> map = Maps.newHashMap();
		return ServiceHelper.post("/orderdict/paymethod", map);
	}
	
	
	public static JSONObject invoiceTypeList(){
		Map<String, Object> map = Maps.newHashMap();
		return ServiceHelper.post("/orderdict/invoiceType", map);
	}
	
	public static JSONObject consignList(String customerId){
		Map<String, Object> map = Maps.newHashMap();
		map.put("customerId", customerId);
		return ServiceHelper.post("/orderdict/consign", map);
	}
	
}
